import { GameEvent } from "../../Const";
import MainView from "../../view/MainView";
import BaseController from "../BaseController";

export default class MainController extends BaseController {
    private main_view:MainView
    start(): void {
        this.message.on(GameEvent.GAME_START,()=>{
            this.main_view=new MainView()
            this.root.addChild(this.main_view)
        })
    }
}